package cn.wolfcode.car.business.query;

import cn.wolfcode.car.common.base.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 岗位查询对象
 */
@Setter
@Getter
public class EmployeeQuery extends QueryObject {


    private  String name;
    private  Integer  admin;
    private  Integer status;
    private  Long deptId;


    @DateTimeFormat(pattern = "yy-MM-dd")
    private Date beginTime;

    @DateTimeFormat(pattern = "yy-MM-dd")
     private Date  endTime;

}
